package com.sz.common.pay.pingan.core.client;

import com.sz.common.pay.common.DateGenerator;
import com.sz.common.pay.pingan.constant.Constant;
import com.sz.common.pay.pingan.constant.FileConstant;
import com.sz.common.pay.pingan.constant.ResponseCode;
import com.sz.common.pay.pingan.exception.PayCommonException;
import com.sz.common.pay.pingan.util.CharSetUtil;
import com.sz.common.pay.pingan.util.PayExceptionUtil;

import java.io.UnsupportedEncodingException;
import java.util.*;

/**
 * Function: 生成向银行请求报文  解析银行发送报文 <br>
 * Author: siqishangshu <br>
 * Date: 2017-10-27 19:51:00
 * 通信报文头(222) + 变长报文体 + 报文附件（非必须）
 * “通信报文头”为固定长度222 字节；
 * “变长报文体”为报文的正文，其长度定义在报文头中 “接收报文长度” 第六个域；
 * “报文附件”（非必须部分）又分为：附件报文头277 + 附件内容 + 附件签名，其中附件签名，客户无须实现，统一送空。
 * 银行提供的客户端报文签名，是对“通信报文头(222) + 变长报文体 + 报文附件（非必须）”三部分的整体部分签名生成报文签名长度和签名数据，
 * 其格式为：6位签名内容长度+签名内容，客户无需关心，由b2bic前置机自动组装在报文后面。
 * 长度和属性列：Char代表字符串类型，Num代表数字类型。长度是指转换为byte后的固定长度，若输入内容不足对应长度，请按照“字符右补空格，数字左补0”规则补足。
 */

public class TcpRequestConverter {

    public static final List<String> NO_XML_LIST = Arrays.asList("TranFunc", "ThirdLogNo", "Qydm");
    public static final int MAX_FILE_FUNCTION_CODE = 05;

    /**
     * 生成请求银行的完整报文
     *
     * @param parmaKeyDict
     * @return
     */
    public String getTranMessage(HashMap parmaKeyDict) throws PayCommonException {

        byte[] byteMessageBody;
        String tranMessage = "";
        String tranMessageBody = "";

        int hTranFunc = Integer.parseInt((String) parmaKeyDict.get("TranFunc"));

        if (hTranFunc < MAX_FILE_FUNCTION_CODE) {
            return getTranDocumentMessage(parmaKeyDict, hTranFunc);
        }
        /*组业务报文体*/
        tranMessageBody = getTranMessageBody(parmaKeyDict, hTranFunc);

        byteMessageBody = CharSetUtil.getBytesFromStringToGBK(tranMessageBody);

      /*组公网业务报文头*/
        int iLength = byteMessageBody.length;
        String hLength = String.format("%08d", iLength);
        String tranMessageHead = getTranMessageHead(hLength, parmaKeyDict);

      /*组公网通讯报文头*/
        int iNetLength = iLength + 122;
        String hNetLength = String.format("%010d", iNetLength);
        String tranMessageNetHead = getTranMessageNetHead(hNetLength, parmaKeyDict, Boolean.FALSE, null);



      /*组完整请求报文*/
        tranMessage = tranMessageNetHead + tranMessageHead + tranMessageBody;

        return tranMessage;
    }


    /**
     * 调用函数签名源串
     *
     * @param parmaKeyDict
     * @param hTranFunc
     * @return
     */
    public String getSignMessage(HashMap parmaKeyDict) throws PayCommonException {
        String signMessageBody = "";
        int hTranFunc = Integer.parseInt((String) parmaKeyDict.get("TranFunc"));
        switch (hTranFunc) {
            case 6005://会员提现【6005】 （验证）
                signMessageBody = getSignMessageBody_6005(parmaKeyDict);
                break;
            case 6006://会员交易【6006】（验密）
                signMessageBody = getSignMessageBody_6006(parmaKeyDict);
                break;
            case 6111://会员提现（支持手续费、支付密码验证）【6111】
                signMessageBody = getSignMessageBody_6111(parmaKeyDict);
                break;
            default:
                PayExceptionUtil.throwPayCommonException("不支持的交易类型 :", ResponseCode.ERR935);
        }

        return signMessageBody;
    }


    /**
     * 生成请求银行报文的报文头
     * 接口报文包括：通讯报文头+业务报文头＋业务报文体。业务报文体见各交易定义，业务报文头统一如下，定长122位：
     * 编号	输入项名称	    英文名	    类型/长度	输入属性	注释
     * 1	    交易类型	        TranFunc	C(4)	必输	    见具体接口交易码
     * 2	    服务类型	        ServType	C(2)	必输	    报文的功能标识码（01:请求02:应答）
     * 3	    MAC码	        MacCode	    C(16)	必输
     * 4	    交易日期	        TranDate	C(8)	必输	    20080428代表2008年4月28日
     * 5	    交易时间	        TranTime	C(6)	必输	    010101代表1时1分1秒
     * 6	    应答码	        RspCode	    C(6)	必输
     * 7	    应答码描述	    RspMsg	    C(42)	必输
     * 8	    后续包标志	    ConFlag	    C(1)	必输
     * 9	    报文体长度	    Length	    C(8)	必输	    不包括报文头长度
     * 10	    操作员号	        CounterId	C(5)	必输	    未启用检验域，建议送00000
     * 11	    请求方系统流水号	ThirdLogNo	C(20)	必输	    本交易的流水号， 唯一标识一笔业务
     * 12	    交易网代码	    Qydm	    C(4)	必输
     *
     * @param hLength
     * @param parmaKeyDict
     * @return
     */

    private String getTranMessageHead(String hLength, HashMap parmaKeyDict) {
        //交易类型
        String hTranFunc = (String) parmaKeyDict.get("TranFunc");
        //服务类型  报文的功能标识码（01:请求02:应答）
        String hServType = "01";
        //MAC码
        String hMacCode = "                ";
        //交易日期  20080428代表2008年4月28日
        String hTrandateTime = DateGenerator.getyyyyMMddHHmmss();
        //应答码
        String hRspCode = "999999";
        //应答码描述  42 个空格
        String hRspMsg = "                                          ";
        // 后续包标志  "0-结束包，1-还有后续包     目前仅支持0"
        String hConFlag = "0";
        //操作员号	 未启用检验域，建议送00000
        String hCounterId = "PA001";
        //请求方系统流水号	ThirdLogNo	C(20)	必输	    本交易的流水号， 唯一标识一笔业务
        String hThirdLogNo = (String) parmaKeyDict.get("ThirdLogNo");
        //交易网代码	 C(4)	必输
        String hQydm = Constant.QYDM;

        String tranMessageHead = hTranFunc + hServType + hMacCode + hTrandateTime + hRspCode + hRspMsg +
                hConFlag + hLength + hCounterId + hThirdLogNo + hQydm;

        return tranMessageHead;
    }

    /**
     * 如下为固定长度222 字节“通信报文头”：报文头部分报文组成
     * 编号	    域名	        长度和属性	 输入属性	    备注
     * 1	    报文版本	    Char(4)	    必输	    "A001定长222报文头+报文体，客户端需要按此报文头上送。     A002 无报文头，客户端不上送以A001开头的报文，由B2BiC客户端增加A002开头的222位报文头"
     * 2	    目标系统	    Char (2)	必输  	"银行业务系统在B2Bi分配的ID。请咨询银行接口负责人（或者查看目标系统的接口文档），获取正确的目标ID值。建议此域做成配置参数"
     * 3	    报文编码	    Char (2)	必输	    "01：GBK缺省 02：UTF8     03：unicode     04：iso-8859-1     建议使用GBK编码"
     * 4	    通讯协议	    Char (2)	必输  	"01:tcpip 缺省  02：http    03：webservice"
     * 5	    外联客户代码	Char (20)	必输	    "测试使用联系银行获取，企业上线的时候由银行分配，请联系客户经理获取；     建议此域做成配置参数"
     * 6	    接收报文长度	Num(10)	    必输	    报文体数据的字节长度（提示：不是字符串的长度）；不包括A001头的222位、附件内容、签名内容的长度
     * 7	    交易码	    Char(6)	    Y	    "请按目标系统发布的接口文档实际填写， 若无需要默认填写000000  建议此域做成配置参数"
     * 8	    操做员代码	Char (5)	N	    未启用检验域，建议送00000
     * 9	    服务类型	    Char(2)	    N	    "1 请求     2 应答"
     * 10	    交易日期	    Char(8)	    Y	    yyyymmdd
     * 11	    交易时间	    Char(6)	    Y	    hhmmss
     * 12	 请求方系统流水号	Char(20)	Y	    "唯一标识一笔交易（企业随机生成唯一流水号）     备注：（如果某种交易要有多次请求的才能完成的，多个交易请求包流水号要保持一致）"
     * 13	    返回码	    Char(6)	    Y	    "请求时必须填写000000     非“000000”代表交易受理异常或失败"
     * 14	    返回描述	    Char(100)	N	    格式为 “:交易成功”；其中冒号为英文格式半角。
     * 15	    后续包标志	Char(1)	    N	    "0-结束包，1-还有后续包     目前仅支持0"
     * 16	    请求次数	    Num (3)	    N	    "如果有后续包请求     000     001     002依此增加     目前仅支持000"
     * 17	    签名标识	    Char(1)	    N	    "不签名     签名     目前仅支持填0"
     * 18	  签名数据包格式	Char(1)	    N	    "裸签     PKCS7     目前仅支持送1"
     * 19	    签名算法	    Char(12)	N	    RSA-SHA1
     * 20	    签名数据长度	Num (10)	Y	    签名报文数据长度, 目前仅支填写0
     * 21	    附件数目	    Num(1)	    Y	    没有,默认为0；有的话填具体个数，最多9个
     * <p>
     * 注释：如果非必输域需要用空格补齐报文；填充不满的，数字类型右对齐，签名填0；字符类型左对齐，后面补空格。
     * 特别提示：
     * 报文头中的“目标系统”、“外联客户代码”、“交易码”建议做成参数化配置，不能硬编码。因为测试、生产是不同的外联客户代码；
     * 不同的交易对应的“交易码”不同；若企业要对接银行的多个业务系统，“目标系统”也是不通的。
     * 通讯报文头举例：
     * A0011301013006................0000000232000000admin0120150803171539101438571461163100..999999......................
     * ..............................................................................000001............00000000000
     * （注意：此处用点代替空格，仅为进行报文讲解，为更清晰展示报文构成。实际报文里必须是空格，用点会报错。）
     * 域名	            长度和属性	            内容
     * 报文版本	            Char(4)	                A001
     * 目标系统	            Char (2)	            13
     * 报文编码	            Char (2)	            01
     * 通讯协议	            Char (2)	            01
     * 外联客户代码	        Char (20)	            3006
     * 接收报文长度	        Num(10)	                0000000232
     * 交易码	            Char(6)	                000000
     * 操做员代码	        Char (5)	            admin
     * 服务类型	            Char(2)	                01
     * 交易日期	            Char(8)	                20150803
     * 交易时间	            Char(6)	                171539
     * 请求方系统流水号	    Char(20)	            101438571461163100
     * 返回码	            Char(6)	                999999
     * 返回描述           	Char(100)	            100个空格
     * 后续包标志	        Char(1)	                0
     * 请求次数	            Num (3)	                000
     * 签名标识	            Char(1)	                0
     * 签名数据包格式	    Char(1)	                0
     * 签名算法           	Char(12)	            12个空格
     * 签名数据长度	        Num (10)	            0000000000
     * 附件数目	            Num(1)	                0
     *
     * @param hLength      接收报文长度
     * @param parmaKeyDict
     * @param isFileOperte 是否是文件操作
     * @return
     */
    private String getTranMessageNetHead(String hLength, HashMap parmaKeyDict, boolean isFileOperte, String tradeCode) {

        //报文版本+目标系统+报文编码+通讯协议
        //"A001260101";
        String netHeadPart1 = Constant.MESSAGE_VERSION + Constant.TARGET_SYSTEM + Constant.CHARSET_CODE + Constant.COMMUNICATION_PROTOCOL_CLIENT;
        //外联客户代码 +  16个空格 加上 hQydm 正好20位
        String netHeadPart2 = "                ";

        String hQydm = Constant.QYDM;
        //交易码 "请按目标系统发布的接口文档实际填写， 若无需要默认填写000000 "
        //"000000";
        String hTradeCode = Constant.TRADE_CODE;
        if (isFileOperte) {
            hTradeCode = tradeCode;
        }
        //操做员代码
        String hCounterId = "PA001";
        //服务类型    "01 请求     02 应答"
        String hServType = "01";
        //String hMacCode="                ";
        // 交易日期	 yyyymmdd
        String hTrandateTime = DateGenerator.getyyyyMMddHHmmss();
        //交易时间  hhmmss

        //请求方系统流水号  "唯一标识一笔交易（企业随机生成唯一流水号）     备注：（如果某种交易要有多次请求的才能完成的，多个交易请求包流水号要保持一致）"
        String hThirdLogNo = (String) parmaKeyDict.get("ThirdLogNo");
        //返回码	 "请求时必须填写000000     非“000000”代表交易受理异常或失败"
        String hRspCode = "999999";
        //返回描述	    Char(100)   格式为 “:交易成功”；其中冒号为英文格式半角。//100个空格
        String hRspMsg = "                                                                                                    ";
        //后续包标志	Char(1)	     "0-结束包，1-还有后续包     目前仅支持0"
        String hConFlag = "0";
        //请求次数	    Num (3)	       "如果有后续包请求     000,   001 ,  002依此增加     目前仅支持000"
        String hTimes = "000";
        //签名标识	    Char(1)	    N	    "1不签名    2 签名     目前仅支持填0"
        String hSignFlag = "0";
        // 签名数据包格式	Char(1)	    N	    "1 裸签    2  PKCS7     目前仅支持送1"
        String hSignPacketType = "0";

        //签名算法	    Char(12)	N	    RSA-SHA1 //12个空格
        String netHeadPart3 = "            ";
        //签名数据长度
        String netHeadPart4 = "00000000000";

        String tranMessageNetHead = netHeadPart1 + hQydm + netHeadPart2 + hLength + hTradeCode + hCounterId + hServType + hTrandateTime + hThirdLogNo +
                hRspCode + hRspMsg + hConFlag + hTimes + hSignFlag + hSignPacketType + netHeadPart3 + netHeadPart4;

        return tranMessageNetHead;
    }

    /**
     * 附件文件报文体格式
     * 附件报文头固定长度：277。
     * 编号	    域名	        长度和属性	输入属性	    备注
     * 22.1	文件名称	        Char(240)	Y	    "文件名称    默认为TXT文本； .txt结尾为纯文本； .zip结尾为zip格式的压缩文件；"
     * 22.2	文件内容编码	    Char(2)	    Y   	"01：GBK缺省     02：UTF8     03：unicode     04：iso-8859-1"
     * 22.3	获取文件方式	    Char(1)	    Y	    "0:流 缺省     1：文件系统     2：FTP服务器     3：http下载     "
     * 22.4	是否对文件签名	Char(1)	    N	    "0：不签名     1：签名"
     * 22.5	签名数据包格式	Char(1)	    N	    "裸签     PKCS7"
     * 22.6	哈希签名算法	    Char(12)	N
     * 22.7	签名内容长度	    Char(10)	Y	    "不需要客户自行签名，请赋值：     0000000000"
     * 22.8	文件内容长度	    Num(10)	    Y	    指“附件报文体”的长度。若获取文件方式0:流，则必输。默认为0000000000
     * 附件报文体	文件内容		N	变长
     * 附件签名内容	签名内容		N	变长，不需要客户自行签名，请忽略此域
     * 注释：如果非必输域需要用空格补齐报文
     * 这部分也可以由银行客户端来做，需要具体协商。
     * 附件内容长度不能大于10M.
     */
    private String getTranDocumentMessage(HashMap parmaKeyDict, int tranFunc) throws PayCommonException {

        String tranMessageBody = "";
        byte[] byteMessageBody;
        String tradeCode = "";
        switch (tranFunc) {
            case 01:    //FILE01文件上传接口
                tranMessageBody = getTranMessageBody_FILE_XML(parmaKeyDict);
                tradeCode = FileConstant.TradeCode.UPLOAD;
                break;
            case 02:    //FILE02文件上传和下载进度查询
                tranMessageBody = getTranMessageBody_FILE_XML(parmaKeyDict);
                tradeCode = FileConstant.TradeCode.PROGRESS;
                break;
            case 03:    //FILE03文件下载
                tranMessageBody = getTranMessageBody_FILE_XML(parmaKeyDict);
                tradeCode = FileConstant.TradeCode.DOWNLOAD;
                break;
            case 04:    // FILE04通知客户ERP文件上传、下载结果
                tranMessageBody = getTranMessageBody_FILE_XML(parmaKeyDict);
                tradeCode = FileConstant.TradeCode.RESULT;
                break;
            default:
                PayExceptionUtil.throwPayCommonException("不支持的交易类型 :", ResponseCode.ERR935);
        }
        try {
            byteMessageBody = tranMessageBody.getBytes(Constant.CHARSET_GBK);//编码
        } catch (UnsupportedEncodingException ex) {
            throw new PayCommonException("不支持的编码类型");
        }
        int iLength = byteMessageBody.length;

        /*组公网通讯报文头*/
        int iNetLength = iLength;
        String hNetLength = String.format("%010d", iNetLength);
        String tranMessageNetHead = getTranMessageNetHead(hNetLength, parmaKeyDict, Boolean.TRUE, tradeCode);

        return tranMessageNetHead + tranMessageBody;
    }


    private String getTranMessageBody_FILE_XML(HashMap parmaKeyDict) throws PayCommonException {
        StringBuilder tranMessageBody = new StringBuilder();
        tranMessageBody.append(FileConstant.XML_VERSION_ENCODEING);
        tranMessageBody.append(FileConstant.XML_LE + FileConstant.XML_ROOT + FileConstant.XML_RI);
        for (Object key : parmaKeyDict.keySet()) {
            if (!NO_XML_LIST.contains(key)) {
                tranMessageBody.append(FileConstant.XML_LE + key.toString() + FileConstant.XML_RI);
                tranMessageBody.append(parmaKeyDict.get(key));
                tranMessageBody.append(FileConstant.XML_LE + FileConstant.XML_E + key.toString() + FileConstant.XML_RI);
            }
        }
        tranMessageBody.append(FileConstant.XML_LE + FileConstant.XML_E + FileConstant.XML_ROOT + FileConstant.XML_RI);

        return tranMessageBody.toString();
    }


    /*根据交易码调用不同的交易请求报文生成方法*/
    private String getTranMessageBody(HashMap parmaKeyDict, int hTranFunc) throws PayCommonException {
        String tranMessageBody = "";
        switch (hTranFunc) {
            case 6000:////会员子账户开立 【6000】
                tranMessageBody = getTranMessageBody_6000(parmaKeyDict);
                break;
            case 6005://会员提现【6005】 （验证）
                tranMessageBody = getTranMessageBody_6033(parmaKeyDict);
                break;
            case 6006://会员交易【6006】（验密）
                tranMessageBody = getTranMessageBody_6034(parmaKeyDict);
                break;
            case 6007://会员资金冻结【6007】
                tranMessageBody = getTranMessageBody_6007(parmaKeyDict);
                break;
            case 6008:// 登记挂账【6008】
                tranMessageBody = getTranMessageBody_6008(parmaKeyDict);
                break;
            case 6010://查询银行子账户余额【6010】
                tranMessageBody = getTranMessageBody_6010(parmaKeyDict);
                break;
            case 6011://查询资金汇总账户余额【6011】
                tranMessageBody = getTranMessageBody_6011(parmaKeyDict);
                break;
            case 6014://查询银行单笔交易明细【6014】
                tranMessageBody = getTranMessageBody_6014(parmaKeyDict);
                break;
            case 6031://平台订单管理【6031】
                tranMessageBody = getTranMessageBody_6031(parmaKeyDict);
                break;
            case 6033://会员提现【6033】 （不验证）
                tranMessageBody = getTranMessageBody_6033(parmaKeyDict);
                break;
            case 6034://会员间交易【6034】
                tranMessageBody = getTranMessageBody_6034(parmaKeyDict);
                break;
            case 6040:
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6041:
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6042:
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6043:
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6044:
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6048://查询银行提现退单信息【6048】
                tranMessageBody = getTranMessageBody_6048(parmaKeyDict);
                break;
            case 6050://查询普通转账充值明细【6050】
                tranMessageBody = getTranMessageBody_6050(parmaKeyDict);
                break;
            case 6052://会员批量交易【6052】
                tranMessageBody = getTranMessageBody_6052(parmaKeyDict);
                break;
            case 6053://会员批量清分【6053】
                tranMessageBody = getTranMessageBody_6053(parmaKeyDict);
                break;
            case 6055://会员绑定提现账户-小额鉴权【6055】
                tranMessageBody = getTranMessageBody_6055(parmaKeyDict);
                break;
            case 6056://会员充值(在途)【6056】
                tranMessageBody = getTranMessageBody_6056(parmaKeyDict);
                break;
            case 6061://查询小额鉴权转账结果【6061】
                tranMessageBody = getTranMessageBody_6061(parmaKeyDict);
                break;
            case 6063:
                tranMessageBody = getTranMessageBody_6063(parmaKeyDict);
                break;
            case 6064://验证鉴权金额 【6064】
                tranMessageBody = getTranMessageBody_6064(parmaKeyDict);
                break;
            case 6065://会员解绑提现账户【6065】
                tranMessageBody = getTranMessageBody_6065(parmaKeyDict);
                break;
            case 6066://会员绑定提现账户 银联鉴权【6066】
                tranMessageBody = getTranMessageBody_6066(parmaKeyDict);
                break;
            case 6067://会员绑定提现账户-回填银联鉴权短信码【6067】
                tranMessageBody = getTranMessageBody_6067(parmaKeyDict);
                break;
            case 6068:
                tranMessageBody = getTranMessageBody_6068(parmaKeyDict);
                break;
            case 6069:
                tranMessageBody = getTranMessageBody_6069(parmaKeyDict);
                break;
            case 6070://会员资金支付【6070】
                tranMessageBody = getTranMessageBody_6070(parmaKeyDict);
                break;
            case 6071:
                tranMessageBody = getTranMessageBody_6071(parmaKeyDict);
                break;
            case 6072://查询银行时间段内交易明细【6072】
                tranMessageBody = getTranMessageBody_6072(parmaKeyDict);
                break;
            case 6073://查询银行时间段内清分提现明细【6073】
                tranMessageBody = getTranMessageBody_6073(parmaKeyDict);
                break;
            case 6037://查询会员子账号【6037】
                tranMessageBody = getTranMessageBody_6037(parmaKeyDict);
                break;
            case 6077://交易撤销【6077】
                tranMessageBody = getTranMessageBody_6077(parmaKeyDict);
                break;
            case 6079://提现与清分对账接口【6079】
                tranMessageBody = getTranMessageBody_6079(parmaKeyDict);
                break;
            case 6080://会员交易明细对账接口【6080】
                tranMessageBody = getTranMessageBody_6080(parmaKeyDict);
                break;
            case 6082://申请提现或支付短信动态码【6082】
                tranMessageBody = getTranMessageBody_6082(parmaKeyDict);
                break;
            case 6083://申请修改手机号码【6083】
                tranMessageBody = getTranMessageBody_6083(parmaKeyDict);
                break;
            case 6084://回填动态码-修改手机 【6084】
                tranMessageBody = getTranMessageBody_6084(parmaKeyDict);
                break;
            case 6085://会员提现（支持手续费、短信验证）【6085】
                tranMessageBody = getTranMessageBody_6085(parmaKeyDict);
                break;
            case 6087:
                tranMessageBody = getTranMessageBody_6087(parmaKeyDict);
                break;
            case 6090:
                tranMessageBody = getTranMessageBody_6090(parmaKeyDict);
                break;
            case 6091:
                tranMessageBody = getTranMessageBody_6091(parmaKeyDict);
                break;
            case 6092://根据会员代码查询会员子账号【6092】
                tranMessageBody = getTranMessageBody_6092(parmaKeyDict);
                break;
            case 6098://会员绑定信息查询 【6098】
                tranMessageBody = getTranMessageBody_6098(parmaKeyDict);
                break;
            case 6100:
                tranMessageBody = getTranMessageBody_6100(parmaKeyDict);
                break;
            case 6101://会员间交易（验证短信动态码）【6101】
                tranMessageBody = getTranMessageBody_6101(parmaKeyDict);
                break;
            case 6102:
                tranMessageBody = getTranMessageBody_6102(parmaKeyDict);
                break;
            case 6103://查询对账文件信息【6103】
                tranMessageBody = getTranMessageBody_6103(parmaKeyDict);
                break;
            case 6108://查询银行在途清算结果【6108】
                tranMessageBody = getTranMessageBody_6108(parmaKeyDict);
                break;
            case 6109://查询银行费用扣收结果【6109】
                tranMessageBody = getTranMessageBody_6109(parmaKeyDict);
                break;
            case 6110://查询银行单笔交易状态(6094优化版)【6110】
                tranMessageBody = getTranMessageBody_6110(parmaKeyDict);
                break;
            case 6111://会员提现（支持手续费、支付密码验证）【6111】
                tranMessageBody = getTranMessageBody_6111(parmaKeyDict);
                break;
            case 6114://查询子帐号历史余额及待转可提现状态信息【6114】
                tranMessageBody = getTranMessageBody_6114(parmaKeyDict);
                break;
            case 6089://会员绑定提现账户-不验证【6089】
                tranMessageBody = getTranMessageBody_6089(parmaKeyDict);
                break;
            case 6088://会员子账户开立 （绑定提现账户-银联鉴权）【6088】
                tranMessageBody = getTranMessageBody_6088(parmaKeyDict);
                break;
            case 6097://会员子账户开立 （绑定提现账户-回填短信验证码）【6097】
                tranMessageBody = getTranMessageBody_6097(parmaKeyDict);
                break;
            case 6099://查询会员子账号基本信息【6099】
                tranMessageBody = getTranMessageBody_6099(parmaKeyDict);
                break;
            case 6093://查询会员子账号余额【6093】
                tranMessageBody = getTranMessageBody_6093(parmaKeyDict);
                break;
            case 6138://维护会员绑定提现账户联行号【6138】
                tranMessageBody = getTranMessageBody_6138(parmaKeyDict);
                break;
            case 6142://查询明细单验证码【6142】
                tranMessageBody = getTranMessageBody_6142(parmaKeyDict);
                break;
            case 1310://TODO to delete TEST
                tranMessageBody = getTranMessageBody_1310(parmaKeyDict);
                break;
            case 1303://TODO to delete TEST
                tranMessageBody = getTranMessageBody_1303(parmaKeyDict);
                break;
            case 1312://TODO to delete TEST
                tranMessageBody = getTranMessageBody_1312(parmaKeyDict);
                break;
            case 1326://TODO to delete TEST
                tranMessageBody = getTranMessageBody_1326(parmaKeyDict);
                break;
            //TODO NEW
            case 1317:
                //出金确认（用于银行发起的异步出金）【1317】
                tranMessageBody = getTranMessageBody_1317(parmaKeyDict);
                break;
            case 1318:
                //出金（交易网发起）【1318】
                tranMessageBody = getTranMessageBody_1318(parmaKeyDict);
                break;
            case 1010:
                //查银行端会员资金台帐余额【1010】
                tranMessageBody = getTranMessageBody_1010(parmaKeyDict);
                break;
            case 1021:
                //监管账户信息查询【1021】
                tranMessageBody = getTranMessageBody_1021(parmaKeyDict);
                break;
            case 1016:
                //查时间段会员开销户信息【1016】
                tranMessageBody = getTranMessageBody_1016(parmaKeyDict);
                break;
            case 1324:
                //查询时间段会员交易流水信息【1324】
                tranMessageBody = getTranMessageBody_1324(parmaKeyDict);
                break;
            case 1325:
                //查询时间段会员出入金流水信息【1325】
                tranMessageBody = getTranMessageBody_1325(parmaKeyDict);
                break;
            case 1327:
                //查询支付指令状态【1327】
                tranMessageBody = getTranMessageBody_1327(parmaKeyDict);
                break;
            case 1349:
                //查询对账文件密码【1349】
                tranMessageBody = getTranMessageBody_1349(parmaKeyDict);
                break;
            case 1330:
                //签到、签退【1330】
                tranMessageBody = getTranMessageBody_1330(parmaKeyDict);
                break;
            case 1328:
                //子账户复核支付【1328】
                tranMessageBody = getTranMessageBody_1328(parmaKeyDict);
                break;
            case 1331:
                //平台操作支付【1331】
                tranMessageBody = getTranMessageBody_1331(parmaKeyDict);
                break;
            case 1332:
                //子账户间支付【1332】
                tranMessageBody = getTranMessageBody_1332(parmaKeyDict);
                break;
            case 1029:
                //子账户冻结解冻【1029】
                tranMessageBody = getTranMessageBody_1029(parmaKeyDict);
                break;
            case 1030:
                //平台收费与退费【1030】
                tranMessageBody = getTranMessageBody_1030(parmaKeyDict);
                break;
            case 1031:
                //平台支付与收取【1031】
                tranMessageBody = getTranMessageBody_1031(parmaKeyDict);
                break;
            case 1351:
                //查询账户回单明细【1351】
                tranMessageBody = getTranMessageBody_1351(parmaKeyDict);
                break;
            case 1352:
                //查询回单号验证码【1352】
                tranMessageBody = getTranMessageBody_1352(parmaKeyDict);
                break;
            default:
                PayExceptionUtil.throwPayCommonException("不支持的交易类型 :", ResponseCode.ERR935);
        }

        return tranMessageBody;
    }

    private String getTranMessageBody_1326(HashMap parmaKeyDict) {
        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String CheckResult = Optional.ofNullable((String) parmaKeyDict.get("CheckResult")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String HandFee = Optional.ofNullable((String) parmaKeyDict.get("HandFee")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String PaySerialNo = Optional.ofNullable((String) parmaKeyDict.get("PaySerialNo")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                CheckResult + "&" +
                CustAcctId + "&" +
                ThirdCustId + "&" +
                TranAmount + "&" +
                HandFee + "&" +
                CcyCode + "&" +
                ThirdHtId + "&" +
                PaySerialNo + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;

    }

    private String getTranMessageBody_1312(HashMap parmaKeyDict) {

        String TranWebName = Optional.ofNullable((String) parmaKeyDict.get("TranWebName")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String CustName = Optional.ofNullable((String) parmaKeyDict.get("CustName")).orElse("");
        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String OutAcctId = Optional.ofNullable((String) parmaKeyDict.get("OutAcctId")).orElse("");
        String OutAcctIdName = Optional.ofNullable((String) parmaKeyDict.get("OutAcctIdName")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String HandFee = Optional.ofNullable((String) parmaKeyDict.get("HandFee")).orElse("");
        String FeeOutCustId = Optional.ofNullable((String) parmaKeyDict.get("FeeOutCustId")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =TranWebName + "&" +
                ThirdCustId + "&" +
                CustAcctId + "&" +
                CustName + "&" +
                SupAcctId + "&" +
                OutAcctId + "&" +
                OutAcctIdName + "&" +
                CcyCode + "&" +
                TranAmount + "&" +
                HandFee + "&" +
                FeeOutCustId + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1303(HashMap parmaKeyDict) {

        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String CustName = Optional.ofNullable((String) parmaKeyDict.get("CustName")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String IdType = Optional.ofNullable((String) parmaKeyDict.get("IdType")).orElse("");
        String IdCode = Optional.ofNullable((String) parmaKeyDict.get("IdCode")).orElse("");
        String RelatedAcctId = Optional.ofNullable((String) parmaKeyDict.get("RelatedAcctId")).orElse("");
        String AcctFlag = Optional.ofNullable((String) parmaKeyDict.get("AcctFlag")).orElse("");
        String TranType = Optional.ofNullable((String) parmaKeyDict.get("TranType")).orElse("");
        String AcctName = Optional.ofNullable((String) parmaKeyDict.get("AcctName")).orElse("");
        String BankCode = Optional.ofNullable((String) parmaKeyDict.get("BankCode")).orElse("");
        String BankName = Optional.ofNullable((String) parmaKeyDict.get("BankName")).orElse("");
        String OldRelatedAcctId = Optional.ofNullable((String) parmaKeyDict.get("OldRelatedAcctId")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =FuncFlag + "&" +
                SupAcctId + "&" +
                CustAcctId + "&" +
                CustName + "&" +
                ThirdCustId + "&" +
                IdType + "&" +
                IdCode + "&" +
                RelatedAcctId + "&" +
                AcctFlag + "&" +
                TranType + "&" +
                AcctName + "&" +
                BankCode + "&" +
                BankName + "&" +
                OldRelatedAcctId + "&" +
                Reserve + "&";
        return tranMessage;

    }

    private String getTranMessageBody_1352(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String MainAcctId = Optional.ofNullable((String) parmaKeyDict.get("MainAcctId")).orElse("");
        String ReceptNo = Optional.ofNullable((String) parmaKeyDict.get("ReceptNo")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                MainAcctId + "&" +
                ReceptNo + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1351(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String AcctId = Optional.ofNullable((String) parmaKeyDict.get("AcctId")).orElse("");
        String SelectFlag = Optional.ofNullable((String) parmaKeyDict.get("SelectFlag")).orElse("");
        String BeginDate = Optional.ofNullable((String) parmaKeyDict.get("BeginDate")).orElse("");
        String EndDate = Optional.ofNullable((String) parmaKeyDict.get("EndDate")).orElse("");
        String PageNum = Optional.ofNullable((String) parmaKeyDict.get("PageNum")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                AcctId + "&" +
                SelectFlag + "&" +
                BeginDate + "&" +
                EndDate + "&" +
                PageNum + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1031(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                CustAcctId + "&" +
                ThirdCustId + "&" +
                TranAmount + "&" +
                CcyCode + "&" +
                ThirdHtId + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1030(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                CustAcctId + "&" +
                ThirdCustId + "&" +
                TranAmount + "&" +
                CcyCode + "&" +
                ThirdHtId + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1029(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                CustAcctId + "&" +
                ThirdCustId + "&" +
                TranAmount + "&" +
                CcyCode + "&" +
                ThirdHtId + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1332(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String OutCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("OutCustAcctId")).orElse("");
        String OutThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("OutThirdCustId")).orElse("");
        String InCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("InCustAcctId")).orElse("");
        String InThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("InThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String HandFee = Optional.ofNullable((String) parmaKeyDict.get("HandFee")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String PaySerialNo = Optional.ofNullable((String) parmaKeyDict.get("PaySerialNo")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String ThirdHtCont = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtCont")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                OutCustAcctId + "&" +
                OutThirdCustId + "&" +
                InCustAcctId + "&" +
                InThirdCustId + "&" +
                TranAmount + "&" +
                HandFee + "&" +
                CcyCode + "&" +
                PaySerialNo + "&" +
                ThirdHtId + "&" +
                ThirdHtCont + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;

    }

    private String getTranMessageBody_1331(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String PaySerialNo = Optional.ofNullable((String) parmaKeyDict.get("PaySerialNo")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String PayAmount = Optional.ofNullable((String) parmaKeyDict.get("PayAmount")).orElse("");
        String PayFee = Optional.ofNullable((String) parmaKeyDict.get("PayFee")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                PaySerialNo + "&" +
                ThirdHtId + "&" +
                PayAmount + "&" +
                PayFee + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1328(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String OutCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("OutCustAcctId")).orElse("");
        String OutThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("OutThirdCustId")).orElse("");
        String InCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("InCustAcctId")).orElse("");
        String InThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("InThirdCustId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String HandFee = Optional.ofNullable((String) parmaKeyDict.get("HandFee")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String PaySerialNo = Optional.ofNullable((String) parmaKeyDict.get("PaySerialNo")).orElse("");
        String ThirdHtId = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtId")).orElse("");
        String ThirdHtCont = Optional.ofNullable((String) parmaKeyDict.get("ThirdHtCont")).orElse("");
        String Note = Optional.ofNullable((String) parmaKeyDict.get("Note")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                OutCustAcctId + "&" +
                OutThirdCustId + "&" +
                InCustAcctId + "&" +
                InThirdCustId + "&" +
                TranAmount + "&" +
                HandFee + "&" +
                CcyCode + "&" +
                PaySerialNo + "&" +
                ThirdHtId + "&" +
                ThirdHtCont + "&" +
                Note + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1330(HashMap parmaKeyDict) {

        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String TxDate = Optional.ofNullable((String) parmaKeyDict.get("TxDate")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =FuncFlag + "&" +
                TxDate + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1349(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String FuncFlag = Optional.ofNullable((String) parmaKeyDict.get("FuncFlag")).orElse("");
        String CheckDate = Optional.ofNullable((String) parmaKeyDict.get("CheckDate")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                FuncFlag + "&" +
                CheckDate + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1327(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String PaySerialNo = Optional.ofNullable((String) parmaKeyDict.get("PaySerialNo")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                PaySerialNo + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1325(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String OrigThirdLogNo = Optional.ofNullable((String) parmaKeyDict.get("OrigThirdLogNo")).orElse("");
        String BeginDate = Optional.ofNullable((String) parmaKeyDict.get("BeginDate")).orElse("");
        String EndDate = Optional.ofNullable((String) parmaKeyDict.get("EndDate")).orElse("");
        String PageNum = Optional.ofNullable((String) parmaKeyDict.get("PageNum")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                OrigThirdLogNo + "&" +
                BeginDate + "&" +
                EndDate + "&" +
                PageNum + "&" +
                Reserve + "&";
        return tranMessage;

    }

    private String getTranMessageBody_1324(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String OrigThirdLogNo = Optional.ofNullable((String) parmaKeyDict.get("OrigThirdLogNo")).orElse("");
        String BeginDate = Optional.ofNullable((String) parmaKeyDict.get("BeginDate")).orElse("");
        String EndDate = Optional.ofNullable((String) parmaKeyDict.get("EndDate")).orElse("");
        String PageNum = Optional.ofNullable((String) parmaKeyDict.get("PageNum")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                OrigThirdLogNo + "&" +
                BeginDate + "&" +
                EndDate + "&" +
                PageNum + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1016(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String BeginDate = Optional.ofNullable((String) parmaKeyDict.get("BeginDate")).orElse("");
        String EndDate = Optional.ofNullable((String) parmaKeyDict.get("EndDate")).orElse("");
        String PageNum = Optional.ofNullable((String) parmaKeyDict.get("PageNum")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage =SupAcctId + "&" +
                BeginDate + "&" +
                EndDate + "&" +
                PageNum + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1021(HashMap parmaKeyDict) {

        String AcctId = Optional.ofNullable((String) parmaKeyDict.get("AcctId")).orElse("");
        String TranWebCode = Optional.ofNullable((String) parmaKeyDict.get("TranWebCode")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage = AcctId + "&" +
                TranWebCode + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1010(HashMap parmaKeyDict) {

        String  SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String  ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String  CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String  SelectFlag = Optional.ofNullable((String) parmaKeyDict.get("SelectFlag")).orElse("");
        String  PageNum = Optional.ofNullable((String) parmaKeyDict.get("PageNum")).orElse("");
        String  Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");


        String tranMessage =SupAcctId  + "&" +
                ThirdCustId + "&" +
                CustAcctId + "&" +
                SelectFlag + "&" +
                PageNum + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1318(HashMap parmaKeyDict) {

        String TranWebName = Optional.ofNullable((String) parmaKeyDict.get("TranWebName")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String IdType = Optional.ofNullable((String) parmaKeyDict.get("IdType")).orElse("");
        String IdCode = Optional.ofNullable((String) parmaKeyDict.get("IdCode")).orElse("");
        String TranOutType = Optional.ofNullable((String) parmaKeyDict.get("TranOutType")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String CustName = Optional.ofNullable((String) parmaKeyDict.get("CustName")).orElse("");
        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String TranType = Optional.ofNullable((String) parmaKeyDict.get("TranType")).orElse("");
        String OutAcctId = Optional.ofNullable((String) parmaKeyDict.get("OutAcctId")).orElse("");
        String OutAcctIdName = Optional.ofNullable((String) parmaKeyDict.get("OutAcctIdName")).orElse("");
        String OutAcctIdBankName = Optional.ofNullable((String) parmaKeyDict.get("OutAcctIdBankName")).orElse("");
        String OutAcctIdBankCode = Optional.ofNullable((String) parmaKeyDict.get("OutAcctIdBankCode")).orElse("");
        String Address = Optional.ofNullable((String) parmaKeyDict.get("Address")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String FeeOutCustId = Optional.ofNullable((String) parmaKeyDict.get("FeeOutCustId")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage = TranWebName + "&" +
                ThirdCustId + "&" +
                IdType + "&" +
                IdCode + "&" +
                TranOutType + "&" +
                CustAcctId + "&" +
                CustName + "&" +
                SupAcctId + "&" +
                TranType + "&" +
                OutAcctId + "&" +
                OutAcctIdName + "&" +
                OutAcctIdBankName + "&" +
                OutAcctIdBankCode + "&" +
                Address + "&" +
                CcyCode + "&" +
                TranAmount + "&" +
                FeeOutCustId + "&" +
                Reserve+ "&";
        return tranMessage;
    }

    private String getTranMessageBody_1317(HashMap parmaKeyDict) {

        String FrontLogNo = Optional.ofNullable((String) parmaKeyDict.get("FrontLogNo")).orElse("");
        String TranWebName = Optional.ofNullable((String) parmaKeyDict.get("TranWebName")).orElse("");
        String ThirdCustId = Optional.ofNullable((String) parmaKeyDict.get("ThirdCustId")).orElse("");
        String IdType = Optional.ofNullable((String) parmaKeyDict.get("IdType")).orElse("");
        String IdCode = Optional.ofNullable((String) parmaKeyDict.get("IdCode")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String CustName = Optional.ofNullable((String) parmaKeyDict.get("CustName")).orElse("");
        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String TranStatus = Optional.ofNullable((String) parmaKeyDict.get("TranStatus")).orElse("");
        String TranType = Optional.ofNullable((String) parmaKeyDict.get("TranType")).orElse("");
        String OutAcctId = Optional.ofNullable((String) parmaKeyDict.get("OutAcctId")).orElse("");
        String OutAcctIdName = Optional.ofNullable((String) parmaKeyDict.get("OutAcctIdName")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");

        String tranMessage = FrontLogNo + "&" +
                TranWebName + "&" +
                ThirdCustId + "&" +
                IdType + "&" +
                IdCode + "&" +
                CustAcctId + "&" +
                CustName + "&" +
                SupAcctId + "&" +
                TranStatus + "&" +
                TranType + "&" +
                OutAcctId + "&" +
                OutAcctIdName + "&" +
                CcyCode + "&" +
                TranAmount + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_1310(HashMap parmaKeyDict) {

        String SupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String CustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String TranAmount = Optional.ofNullable((String) parmaKeyDict.get("TranAmount")).orElse("");
        String InAcctId = Optional.ofNullable((String) parmaKeyDict.get("InAcctId")).orElse("");
        String InAcctIdName = Optional.ofNullable((String) parmaKeyDict.get("InAcctIdName")).orElse("");
        String CcyCode = Optional.ofNullable((String) parmaKeyDict.get("CcyCode")).orElse("");
        String AcctDate = Optional.ofNullable((String) parmaKeyDict.get("AcctDate")).orElse("");
        String Reserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");
        String tranMessage = SupAcctId + "&" +
                CustAcctId + "&" +
                TranAmount + "&" +
                InAcctId + "&" +
                InAcctIdName + "&" +
                CcyCode + "&" +
                AcctDate + "&" +
                Reserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_6142(HashMap parmaKeyDict) {
        String bSupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");                   //资金汇总账号
        String bOldFrontlogno = Optional.ofNullable((String) parmaKeyDict.get(" OldFrontlogno")).orElse("");              //原交易的前置流水号
        String bOldTranType = Optional.ofNullable((String) parmaKeyDict.get("OldTranType")).orElse("");                 //原交易的交易类型
        String bReserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");//保留域
        String tranMessage = bSupAcctId + "&" +
                bOldFrontlogno + "&" +
                bOldTranType + "&" +
                bReserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_6138(HashMap parmaKeyDict) {
        String bSupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");      // 资金汇总账号
        String bCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse(""); // 子账户账号
        String bAcctId = Optional.ofNullable((String) parmaKeyDict.get("AcctId")).orElse("");// 会员绑定账号
        String bBankName = Optional.ofNullable((String) parmaKeyDict.get("BankName")).orElse("");// 开户行名称
        String bBankCode = Optional.ofNullable((String) parmaKeyDict.get("BankCode")).orElse("");   // 大小额行号
        String bSBankCode = Optional.ofNullable((String) parmaKeyDict.get("SBankCode")).orElse("");     // 超级网银行号
        String bReserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");
        String tranMessage = bSupAcctId + "&" +
                bCustAcctId + "&" +
                bAcctId + "&" +
                bBankName + "&" +
                bBankCode + "&" +
                bSBankCode + "&" +
                bReserve + "&";
        return tranMessage;
    }


    private String getTranMessageBody_6093(HashMap parmaKeyDict) {
        String bSupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String bCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String bReserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");
        String tranMessage = bSupAcctId + "&" +
                bCustAcctId + "&" +
                bReserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_6099(HashMap parmaKeyDict) {
        String bSupAcctId = Optional.ofNullable((String) parmaKeyDict.get("SupAcctId")).orElse("");
        String bCustAcctId = Optional.ofNullable((String) parmaKeyDict.get("CustAcctId")).orElse("");
        String bReserve = Optional.ofNullable((String) parmaKeyDict.get("Reserve")).orElse("");
        String tranMessage = bSupAcctId + "&" + bCustAcctId + "&" + bReserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_6097(HashMap parmaKeyDict) {
        String bSupAcctId = "";
        String bThirdCustId = "";
        String bAcctId = "";
        String bMessageCode = "";
        String bReserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            bSupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("ThirdCustId")) {
            bThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }
        if (parmaKeyDict.containsKey("AcctId")) {
            bAcctId = (String) parmaKeyDict.get("AcctId");
        }
        if (parmaKeyDict.containsKey("MessageCode")) {
            bMessageCode = (String) parmaKeyDict.get("MessageCode");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            bReserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessage = bSupAcctId + "&" +
                bThirdCustId + "&" + bAcctId + "&" +
                bMessageCode + "&" + bReserve + "&";
        return tranMessage;
    }

    private String getTranMessageBody_6088(HashMap parmaKeyDict) {
        String bSupAcctId = "";
        String bThirdCustId = "";
        String bCustName = "";
        String bIdType = "";
        String bIdCode = "";
        String bAcctId = "";
        String bBankType = "";
        String bBankName = "";
        String bBankCode = "";
        String bSBankCode = "";
        String bMobilePhone = "";
        String bCustProperty = "";
        String bReserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            bSupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            bThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }


        if (parmaKeyDict.containsKey("CustName")) {
            bCustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            bIdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            bIdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            bAcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("BankType")) {
            bBankType = (String) parmaKeyDict.get("BankType");
        }

        if (parmaKeyDict.containsKey("BankName")) {
            bBankName = (String) parmaKeyDict.get("BankName");
        }

        if (parmaKeyDict.containsKey("BankCode")) {
            bBankCode = (String) parmaKeyDict.get("BankCode");
        }

        if (parmaKeyDict.containsKey("SBankCode")) {
            bSBankCode = (String) parmaKeyDict.get("SBankCode");
        }

        if (parmaKeyDict.containsKey("MobilePhone")) {
            bMobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }

        if (parmaKeyDict.containsKey("CustProperty")) {
            bCustProperty = (String) parmaKeyDict.get("CustProperty");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            bReserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = bSupAcctId + "&" +
                bThirdCustId + "&" +
                bCustName + "&" +
                bIdType + "&" +
                bIdCode + "&" +
                bAcctId + "&" +
                bBankType + "&" +
                bBankName + "&" +
                bBankCode + "&" +
                bSBankCode + "&" +
                bMobilePhone + "&" +
                bCustProperty + "&" +
                bReserve + "&";
        return tranMessageBody;
    }

    /**
     * @param parmaKeyDict
     * @return
     */
    private String getTranMessageBody_6089(HashMap parmaKeyDict) {

        String bSupAcctId = "";
        String bThirdCustId = "";
        String bCustAcctId = "";
        String bCustName = "";
        String bIdType = "";
        String bIdCode = "";
        String bAcctId = "";
        String bBankType = "";
        String bBankName = "";
        String bBankCode = "";
        String bSBankCode = "";
        String bReserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            bSupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("ThirdCustId")) {
            bThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }
        if (parmaKeyDict.containsKey("CustAcctId")) {
            bCustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("CustName")) {
            bCustName = (String) parmaKeyDict.get("CustName");
        }
        if (parmaKeyDict.containsKey("IdType")) {
            bIdType = (String) parmaKeyDict.get("IdType");
        }
        if (parmaKeyDict.containsKey("IdCode")) {
            bIdCode = (String) parmaKeyDict.get("IdCode");
        }
        if (parmaKeyDict.containsKey("AcctId")) {
            bAcctId = (String) parmaKeyDict.get("AcctId");
        }
        if (parmaKeyDict.containsKey("BankType")) {
            bBankType = (String) parmaKeyDict.get("BankType");
        }
        if (parmaKeyDict.containsKey("BankName")) {
            bBankName = (String) parmaKeyDict.get("BankName");
        }
        if (parmaKeyDict.containsKey("BankCode")) {
            bBankCode = (String) parmaKeyDict.get("BankCode");
        }
        if (parmaKeyDict.containsKey("SBankCode")) {
            bSBankCode = (String) parmaKeyDict.get("SBankCode");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            bReserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = bSupAcctId + "&" +
                bThirdCustId + "&" +
                bCustAcctId + "&" +
                bCustName + "&" +
                bIdType + "&" +
                bIdCode + "&" +
                bAcctId + "&" +
                bBankType + "&" +
                bBankName + "&" +
                bBankCode + "&" +
                bSBankCode + "&" +
                bReserve + "&";
        return tranMessageBody;
    }

    /**
     * 生成6000交易的报文体:会员注册
     *
     * @param parmaKeyDict
     * @return
     */
    private String getTranMessageBody_6000(HashMap parmaKeyDict) {

        String bFuncFlag = "";          //功能标志
        String bSupAcctId = "";          //资金汇总账号
        String bThirdCustId = "";        //交易网会员代码
        String bCustProperty = "";       //会员属性
        String bNickName = "";           //用户昵称
        String bMobilePhone = "";        //手机号码
        String bEmail = "";              //Email
        String bReserve = "";            //保留域


        if (parmaKeyDict.containsKey("FuncFlag")) {
            bFuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("SupAcctId")) {
            bSupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            bThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustProperty")) {
            bCustProperty = (String) parmaKeyDict.get("CustProperty");
        }

        if (parmaKeyDict.containsKey("NickName")) {
            bNickName = (String) parmaKeyDict.get("NickName");
        }

        if (parmaKeyDict.containsKey("MobilePhone")) {
            bMobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }

        if (parmaKeyDict.containsKey("Email")) {
            bEmail = (String) parmaKeyDict.get("Email");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            bReserve = (String) parmaKeyDict.get("Reserve");
        }


        String tranMessageBody = bFuncFlag + "&" + bSupAcctId + "&" + bThirdCustId + "&" + bCustProperty + "&" + bNickName + "&" + bMobilePhone + "&" + bEmail + "&" + bReserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6055(HashMap parmaKeyDict) {

        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String IdType = "";
        String IdCode = "";
        String AcctId = "";
        String BankType = "";
        String BankName = "";
        String BankCode = "";
        String SBankCode = "";
        String MobilePhone = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("BankType")) {
            BankType = (String) parmaKeyDict.get("BankType");
        }

        if (parmaKeyDict.containsKey("BankName")) {
            BankName = (String) parmaKeyDict.get("BankName");
        }

        if (parmaKeyDict.containsKey("BankCodeData")) {
            BankCode = (String) parmaKeyDict.get("BankCodeData");
        }

        if (parmaKeyDict.containsKey("SBankCode")) {
            SBankCode = (String) parmaKeyDict.get("SBankCode");
        }

        if (parmaKeyDict.containsKey("MobilePhone")) {
            MobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }


        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + IdType + "&" + IdCode + "&" + AcctId + "&" + BankType + "&" + BankName + "&" + BankCode + "&" + SBankCode + "&" + MobilePhone + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6063(HashMap parmaKeyDict) {

        String FuncFlag = "";
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String IdType = "";
        String IdCode = "";
        String AcctId = "";
        String BankName = "";
        String BankCode = "";
        String SBankCode = "";
        String MobilePhone = "";
        String Reserve = "";
        String TelePhone = "";
        String Email = "";
        String Address = "";
        String CPFlag = "";
        String BankFlag = "";
        String NickName = "";
        String AcctName = "";

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("BankFlag")) {
            BankFlag = (String) parmaKeyDict.get("BankFlag");
        }

        if (parmaKeyDict.containsKey("BankName")) {
            BankName = (String) parmaKeyDict.get("BankName");
        }

        if (parmaKeyDict.containsKey("BankCodeData")) {
            BankCode = (String) parmaKeyDict.get("BankCodeData");
        }

        if (parmaKeyDict.containsKey("SBankCode")) {
            SBankCode = (String) parmaKeyDict.get("SBankCode");
        }

        if (parmaKeyDict.containsKey("MobilePhone")) {
            MobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        if (parmaKeyDict.containsKey("TelePhone")) {
            TelePhone = (String) parmaKeyDict.get("TelePhone");
        }

        if (parmaKeyDict.containsKey("Email")) {
            Email = (String) parmaKeyDict.get("Email");
        }

        if (parmaKeyDict.containsKey("CPFlag")) {
            CPFlag = (String) parmaKeyDict.get("CPFlag");
        }

        if (parmaKeyDict.containsKey("NickName")) {
            NickName = (String) parmaKeyDict.get("NickName");
        }

        if (parmaKeyDict.containsKey("AcctName")) {
            AcctName = (String) parmaKeyDict.get("AcctName");
        }

        if (parmaKeyDict.containsKey("Address")) {
            Address = (String) parmaKeyDict.get("Address");
        }


        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + CustAcctId + "&" + CustName + "&" + NickName + "&" + IdType + "&" + IdCode + "&" + ThirdCustId + "&" + MobilePhone + "&" + TelePhone + "&" + Email + "&" + Address + "&" + CPFlag + "&" + BankFlag + "&" + AcctName + "&" + AcctId + "&" + BankName + "&" + BankCode + "&" + SBankCode + "&" + Reserve + "&";

        return tranMessageBody;
    }


    private String getTranMessageBody_6064(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String AcctId = "";
        String TranAmount = "";
        String CcyCode = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + AcctId + "&" + TranAmount + "&" + CcyCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6066(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String IdType = "";
        String IdCode = "";
        String AcctId = "";
        String BankType = "";
        String BankName = "";
        String BankCode = "";
        String SBankCode = "";
        String MobilePhone = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("BankType")) {
            BankType = (String) parmaKeyDict.get("BankType");
        }

        if (parmaKeyDict.containsKey("BankName")) {
            BankName = (String) parmaKeyDict.get("BankName");
        }

        if (parmaKeyDict.containsKey("BankCodeData")) {
            BankCode = (String) parmaKeyDict.get("BankCodeData");
        }

        if (parmaKeyDict.containsKey("SBankCode")) {
            SBankCode = (String) parmaKeyDict.get("SBankCode");
        }

        if (parmaKeyDict.containsKey("MobilePhone")) {
            MobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + IdType + "&" + IdCode + "&" + AcctId + "&" + BankType + "&" + BankName + "&" + BankCode + "&" + SBankCode + "&" + MobilePhone + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6067(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String TranAmount = "";
        String AcctId = "";
        String MessageCode = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }


        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + AcctId + "&" + MessageCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6056(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String TranAmount = "";
        String CcyCode = "";
        String Note = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + TranAmount + "&" + CcyCode + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6061(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String OrigThirdLogNo = "";
        String TranDate = "";
        String Reserve = "";
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("OrigThirdLogNo")) {
            OrigThirdLogNo = (String) parmaKeyDict.get("OrigThirdLogNo");
        }
        if (parmaKeyDict.containsKey("TranDate")) {
            TranDate = (String) parmaKeyDict.get("TranDate");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + OrigThirdLogNo + "&" + TranDate + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6033(HashMap parmaKeyDict) {
        String TranWebName = "";
        String CustAcctId = "";
        String IdType = "";
        String IdCode = "";
        String ThirdCustId = "";
        String CustName = "";
        String SupAcctId = "";
        String OutAcctId = "";
        String OutAcctIdName = "";
        String CcyCode = "";
        String TranAmount = "";
        String Note = "";
        String Reserve = "";
        String WebSign = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        if (parmaKeyDict.containsKey("TranWebName")) {
            TranWebName = (String) parmaKeyDict.get("TranWebName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }
        if (parmaKeyDict.containsKey("OutAcctIdName")) {
            OutAcctIdName = (String) parmaKeyDict.get("OutAcctIdName");
        }
        if (parmaKeyDict.containsKey("OutAcctId")) {
            OutAcctId = (String) parmaKeyDict.get("OutAcctId");
        }
        if (parmaKeyDict.containsKey("WebSign")) {
            WebSign = (String) parmaKeyDict.get("WebSign");
        }

        String tranMessageBody = TranWebName + "&" + CustAcctId + "&" + IdType + "&" + IdCode + "&" + ThirdCustId + "&" + CustName + "&" + SupAcctId + "&" + OutAcctId + "&" + OutAcctIdName + "&" + CcyCode + "&" + TranAmount + "&" + Note + "&" + Reserve + "&" + WebSign + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6007(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String FuncFlag = "";
        String TranFee = "";
        String TranAmount = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String ThirdHtMsg = "";
        String Note = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String) parmaKeyDict.get("TranFee");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }

        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String) parmaKeyDict.get("ThirdHtMsg");
        }

        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + TranAmount + "&" + TranFee + "&" + CcyCode + "&" + ThirdHtId + "&" + ThirdHtMsg + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6008(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String CustName = "";
        String TranAmount = "";
        String CcyCode = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + TranAmount + "&" + CcyCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6031(HashMap parmaKeyDict) {
        String FuncFlag = "";
        String OutCustAcctId = "";
        String SupAcctId = "";
        String OutThirdCustId = "";
        String OutCustName = "";
        String InCustAcctId = "";
        String InThirdCustId = "";
        String InCustName = "";
        String TranAmount = "";
        String TranFee = "";
        String TranType = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String ThirdHtMsg = "";
        String Note = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }

        if (parmaKeyDict.containsKey("OutCustName")) {
            OutCustName = (String) parmaKeyDict.get("OutCustName");
        }

        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String) parmaKeyDict.get("InCustAcctId");
        }

        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String) parmaKeyDict.get("InThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustName")) {
            InCustName = (String) parmaKeyDict.get("InCustName");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String) parmaKeyDict.get("TranFee");
        }
        if (parmaKeyDict.containsKey("TranType")) {
            TranType = (String) parmaKeyDict.get("TranType");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }
        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String) parmaKeyDict.get("ThirdHtMsg");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }


        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + OutCustAcctId + "&" + OutThirdCustId + "&" + OutCustName + "&" + InCustAcctId + "&" + InThirdCustId + "&" + InCustName + "&" + TranAmount + "&" + TranFee + "&" + TranType + "&" + CcyCode + "&" + ThirdHtId + "&" + ThirdHtMsg + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6034(HashMap parmaKeyDict) {
        String FuncFlag = "";
        String OutCustAcctId = "";
        String SupAcctId = "";
        String OutThirdCustId = "";
        String OutCustName = "";
        String InCustAcctId = "";
        String InThirdCustId = "";
        String InCustName = "";
        String TranAmount = "";
        String TranFee = "";
        String TranType = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String ThirdHtMsg = "";
        String Note = "";
        String Reserve = "";
        String WebSign = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }

        if (parmaKeyDict.containsKey("OutCustName")) {
            OutCustName = (String) parmaKeyDict.get("OutCustName");
        }

        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String) parmaKeyDict.get("InCustAcctId");
        }

        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String) parmaKeyDict.get("InThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustName")) {
            InCustName = (String) parmaKeyDict.get("InCustName");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String) parmaKeyDict.get("TranFee");
        }
        if (parmaKeyDict.containsKey("TranType")) {
            TranType = (String) parmaKeyDict.get("TranType");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }
        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String) parmaKeyDict.get("ThirdHtMsg");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        if (parmaKeyDict.containsKey("WebSign")) {
            WebSign = (String) parmaKeyDict.get("WebSign");
        }

        String tranMessageBody = FuncFlag + "&" + OutCustAcctId + "&" + SupAcctId + "&" + OutThirdCustId + "&" + OutCustName + "&" + InCustAcctId + "&" + InThirdCustId + "&" + InCustName + "&" + TranAmount + "&" + TranFee + "&" + TranType + "&" + CcyCode + "&" + ThirdHtId + "&" + ThirdHtMsg + "&" + Note + "&" + Reserve + "&" + WebSign + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6010(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String SelectFlag = "";
        String PageNum = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }

        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + SelectFlag + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6014(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String OrigThirdLogNo = "";
        String TranDate = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("OrigThirdLogNo")) {
            OrigThirdLogNo = (String) parmaKeyDict.get("OrigThirdLogNo");
        }

        if (parmaKeyDict.containsKey("TranDate")) {
            TranDate = (String) parmaKeyDict.get("TranDate");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + FuncFlag + "&" + OrigThirdLogNo + "&" + TranDate + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6048(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + BeginDate + "&" + EndDate + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6050(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6052(HashMap parmaKeyDict) {
        LinkedList<String> list = new LinkedList<String>();
        String FuncFlag = "";
        String OutCustAcctId = "";
        String OutThirdCustId = "";
        String SupAcctId = "";
        String ThirdHtCount = "";
        String Reserve = "";
        String WebSign = "";
        StringBuilder array = new StringBuilder();
        array.append("");
        String[] InCustAcctId = null;
        String[] InThirdCustId = null;
        String[] TranAmount = null;
        String[] TranFee = null;
        String[] CcyCode = null;
        String[] ThirdHtId = null;
        String[] ThirdHtMsg = null;
        String[] Note = null;
        String[] MarketLogNo = null;
        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }
        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }
        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("ThirdHtCount")) {
            ThirdHtCount = (String) parmaKeyDict.get("ThirdHtCount");
        }
        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String[]) parmaKeyDict.get("InCustAcctId");
        }
        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String[]) parmaKeyDict.get("InThirdCustId");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String[]) parmaKeyDict.get("TranAmount");
        }
        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String[]) parmaKeyDict.get("TranFee");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String[]) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String[]) parmaKeyDict.get("ThirdHtId");
        }
        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String[]) parmaKeyDict.get("ThirdHtMsg");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String[]) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("MarketLogNo")) {
            MarketLogNo = (String[]) parmaKeyDict.get("MarketLogNo");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        if (parmaKeyDict.containsKey("WebSign")) {
            WebSign = (String) parmaKeyDict.get("WebSign");
        }
        int iCount = Integer.parseInt(ThirdHtCount);

        for (int i = 0; i < iCount; i++) {
            list.add(InCustAcctId[i]);
            list.add(InThirdCustId[i]);
            list.add(TranAmount[i]);
            list.add(TranFee[i]);
            list.add(CcyCode[i]);
            list.add(ThirdHtId[i]);
            list.add(ThirdHtMsg[i]);
            list.add(Note[i]);
            list.add(MarketLogNo[i]);
        }
        for (Iterator it = list.iterator(); it.hasNext(); ) {
            array.append(it.next() + "&");
        }
        String tranMessageBody = FuncFlag + "&" + OutCustAcctId + "&" + OutThirdCustId + "&" + SupAcctId + "&" + ThirdHtCount + "&" + array.toString() + "&" + Reserve + "&" + WebSign + "&";

        return tranMessageBody;

    }

    private String getTranMessageBody_6053(HashMap parmaKeyDict) {
        LinkedList<String> list = new LinkedList<String>();
        String SupAcctId = "";
        String TotalCount = "";
        String Reserve = "";
        StringBuilder array = new StringBuilder();
        array.append("");
        String[] CustAcctId = null;
        String[] ThirdCustId = null;
        String[] TranAmount = null;
        String[] Note = null;
        String[] MarketLogNo = null;
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("TotalCount")) {
            TotalCount = (String) parmaKeyDict.get("TotalCount");
        }
        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String[]) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String[]) parmaKeyDict.get("ThirdCustId");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String[]) parmaKeyDict.get("TranAmount");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String[]) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("MarketLogNo")) {
            MarketLogNo = (String[]) parmaKeyDict.get("MarketLogNo");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        int iCount = Integer.parseInt(TotalCount);
        for (int i = 0; i < iCount; i++) {
            list.add(CustAcctId[i]);
            list.add(ThirdCustId[i]);
            list.add(TranAmount[i]);
            list.add(Note[i]);
            list.add(MarketLogNo[i]);
        }
        for (Iterator it = list.iterator(); it.hasNext(); ) {
            array.append(it.next() + "&");
        }
        String tranMessageBody = SupAcctId + "&" + TotalCount + "&" + array.toString() + "&" + Reserve + "&";

        return tranMessageBody;

    }


    private String getTranMessageBody_6072(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String SelectFlag = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + CustAcctId + "&" + SelectFlag + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6037(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }


        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }


        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6073(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String SelectFlag = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + CustAcctId + "&" + SelectFlag + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6077(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String OrigThirdLogNo = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("OrigThirdLogNo")) {
            OrigThirdLogNo = (String) parmaKeyDict.get("OrigThirdLogNo");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + FuncFlag + "&" + OrigThirdLogNo + "&" + Reserve + "&";

        return tranMessageBody;
    }


    private String getTranMessageBody_6071(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String AcctId = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + AcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6011(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6065(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String FuncFlag = "";
        String AcctId = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + AcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6087(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String CustName = "";
        String IdType = "";
        String IdCode = "";
        String MobilePhone = "";
        String ProductCode = "";
        String Reserve = "";
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }
        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }
        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }
        if (parmaKeyDict.containsKey("MobilePhone")) {
            MobilePhone = (String) parmaKeyDict.get("MobilePhone");
        }
        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + CustName + "&" + IdType + "&" + IdCode + "&" + MobilePhone + "&" + ProductCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6100(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ClientNo = "";
        String TranAmount = "";
        String ProductCode = "";
        String TradeType = "";
        String RevCustAcctId = "";
        String Reserve = "";
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("ClientNo")) {
            ClientNo = (String) parmaKeyDict.get("ClientNo");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }
        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }
        if (parmaKeyDict.containsKey("TradeType")) {
            TradeType = (String) parmaKeyDict.get("TradeType");
        }
        if (parmaKeyDict.containsKey("RevCustAcctId")) {
            RevCustAcctId = (String) parmaKeyDict.get("RevCustAcctId");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ClientNo + "&" + TranAmount + "&" + ProductCode + "&" + TradeType + "&" + RevCustAcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6068(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String CustName = "";
        String IdType = "";
        String IdCode = "";
        String TranAmount = "";
        String ProductCode = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + CustName + "&" + IdType + "&" + IdCode + "&" + TranAmount + "&" + ProductCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6069(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ClientNo = "";
        String TranAmount = "";
        String ProductCode = "";
        String TradeType = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ClientNo")) {
            ClientNo = (String) parmaKeyDict.get("ClientNo");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("TradeType")) {
            TradeType = (String) parmaKeyDict.get("TradeType");
        }

        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ClientNo + "&" + TranAmount + "&" + ProductCode + "&" + TradeType + "&" + Reserve + "&";

        return tranMessageBody;
    }


    private String getTranMessageBody_6043(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ClientNo = "";
        String ProductCode = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ClientNo")) {
            ClientNo = (String) parmaKeyDict.get("ClientNo");
        }

        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ClientNo + "&" + ProductCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6044(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ClientNo = "";
        String ProductCode = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }

        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }

        if (parmaKeyDict.containsKey("ProductCode")) {
            ProductCode = (String) parmaKeyDict.get("ProductCode");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("ClientNo")) {
            ClientNo = (String) parmaKeyDict.get("ClientNo");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ClientNo + "&" + ProductCode + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6079(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String CustAcctId = "";
        String SelectFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String RecordMax = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("RecordMax")) {
            RecordMax = (String) parmaKeyDict.get("RecordMax");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + SelectFlag + "&" + FuncFlag + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + RecordMax + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6080(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String CustAcctId = "";
        String SelectFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String RecordMax = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("RecordMax")) {
            RecordMax = (String) parmaKeyDict.get("RecordMax");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + SelectFlag + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + RecordMax + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6082(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String TranType = "";
        String TranAmount = "";
        String AcctId = "";
        String ThirdHtId = "";
        String TranNote = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("TranType")) {
            TranType = (String) parmaKeyDict.get("TranType");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }

        if (parmaKeyDict.containsKey("TranNote")) {
            TranNote = (String) parmaKeyDict.get("TranNote");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + TranType + "&" + TranAmount + "&" + AcctId + "&" + ThirdHtId + "&" + TranNote + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6083(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String ModifiedType = "";
        String NewMobilePhone = "";
        String AcctId = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ModifiedType")) {
            ModifiedType = (String) parmaKeyDict.get("ModifiedType");
        }

        if (parmaKeyDict.containsKey("NewMobilePhone")) {
            NewMobilePhone = (String) parmaKeyDict.get("NewMobilePhone");
        }

        if (parmaKeyDict.containsKey("AcctId")) {
            AcctId = (String) parmaKeyDict.get("AcctId");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + ModifiedType + "&" + NewMobilePhone + "&" + AcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6084(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String CustAcctId = "";
        String ModifiedType = "";
        String SerialNo = "";
        String MessageCode = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ModifiedType")) {
            ModifiedType = (String) parmaKeyDict.get("ModifiedType");
        }

        if (parmaKeyDict.containsKey("SerialNo")) {
            SerialNo = (String) parmaKeyDict.get("SerialNo");
        }

        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + CustAcctId + "&" + ModifiedType + "&" + SerialNo + "&" + MessageCode + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6085(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String OutAcctId = "";
        String OutAcctIdName = "";
        String CcyCode = "RMB";
        String TranAmount = "";
        String HandFee = "";
        String SerialNo = "";
        String MessageCode = "";
        String Note = "";
        String Reserve = "";
        String WebSign = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }
        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("OutAcctId")) {
            OutAcctId = (String) parmaKeyDict.get("OutAcctId");
        }
        if (parmaKeyDict.containsKey("OutAcctIdName")) {
            OutAcctIdName = (String) parmaKeyDict.get("OutAcctIdName");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }

        if (parmaKeyDict.containsKey("SerialNo")) {
            SerialNo = (String) parmaKeyDict.get("SerialNo");
        }

        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        if (parmaKeyDict.containsKey("WebSign")) {
            WebSign = (String) parmaKeyDict.get("WebSign");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + OutAcctId + "&" + OutAcctIdName + "&" + CcyCode + "&" + TranAmount + "&"
                + HandFee + "&" + SerialNo + "&" + MessageCode + "&" + Note + "&" + Reserve + "&" + WebSign + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6098(HashMap parmaKeyDict) {
        String SelectFlag = "";
        String SupAcctId = "";
        String CustAcctId = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("SelectFlag")) {
            SelectFlag = (String) parmaKeyDict.get("SelectFlag");
        }
        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SelectFlag + "&" + SupAcctId + "&" + CustAcctId + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6092(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String ThirdCustId = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + ThirdCustId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6103(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FileType = "";
        String TranDate = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FileType")) {
            FileType = (String) parmaKeyDict.get("FileType");
        }

        if (parmaKeyDict.containsKey("TranDate")) {
            TranDate = (String) parmaKeyDict.get("TranDate");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + FileType + "&" + TranDate + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6108(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }

        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6109(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }

        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + SupAcctId + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6114(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String BeginDate = "";
        String EndDate = "";
        String PageNum = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("BeginDate")) {
            BeginDate = (String) parmaKeyDict.get("BeginDate");
        }

        if (parmaKeyDict.containsKey("EndDate")) {
            EndDate = (String) parmaKeyDict.get("EndDate");
        }

        if (parmaKeyDict.containsKey("PageNum")) {
            PageNum = (String) parmaKeyDict.get("PageNum");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + BeginDate + "&" + EndDate + "&" + PageNum + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6110(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String OrigThirdLogNo = "";
        String TranDate = "";
        String FuncFlag = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("OrigThirdLogNo")) {
            OrigThirdLogNo = (String) parmaKeyDict.get("OrigThirdLogNo");
        }

        if (parmaKeyDict.containsKey("TranDate")) {
            TranDate = (String) parmaKeyDict.get("TranDate");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + FuncFlag + "&" + OrigThirdLogNo + "&" + CustAcctId + "&" + TranDate + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6090(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String FileName = "";
        String Reserve = "";
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }
        if (parmaKeyDict.containsKey("FileName")) {
            FileName = (String) parmaKeyDict.get("FileName");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + FuncFlag + "&" + FileName + "&" + Reserve + "&";

        return tranMessageBody;

    }

    private String getTranMessageBody_6091(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String FuncFlag = "";
        String FileName = "";
        String TranDate = "";
        String Reserve = "";
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }
        if (parmaKeyDict.containsKey("FileName")) {
            FileName = (String) parmaKeyDict.get("FileName");
        }
        if (parmaKeyDict.containsKey("TranDate")) {
            TranDate = (String) parmaKeyDict.get("TranDate");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        String tranMessageBody = SupAcctId + "&" + FuncFlag + "&" + FileName + "&" + TranDate + "&" + Reserve + "&";

        return tranMessageBody;

    }

    private String getTranMessageBody_6070(HashMap parmaKeyDict) {
        LinkedList<String> list = new LinkedList<String>();

        String SupAcctId = "";
        String OutCustAcctId = "";
        String OutThirdCustId = "";
        String HandFee = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String TotalCount = "";
        String Note = "";
        String Reserve = "";
        StringBuilder array = new StringBuilder();
        array.append("");
        String[] InCustAcctId = null;
        String[] InThirdCustId = null;
        String[] TranAmount = null;

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }

        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }

        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }

        if (parmaKeyDict.containsKey("TotalCount")) {
            TotalCount = (String) parmaKeyDict.get("TotalCount");
        }

        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }

        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String[]) parmaKeyDict.get("InCustAcctId");
        }

        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String[]) parmaKeyDict.get("InThirdCustId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String[]) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        int iCount = Integer.parseInt(TotalCount);

        for (int i = 0; i < iCount; i++) {
            list.add(InCustAcctId[i]);
            list.add(InThirdCustId[i]);
            list.add(TranAmount[i]);
        }

        for (Iterator it = list.iterator(); it.hasNext(); ) {
            array.append(it.next() + "&");
        }

        String tranMessageBody = SupAcctId + "&" + OutCustAcctId + "&" + OutThirdCustId + "&" + HandFee + "&" + CcyCode + "&" + ThirdHtId + "&" + TotalCount + "&" + array.toString() + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getSignMessageBody_6005(HashMap parmaKeyDict) {
        String TranWebName = "";
        String CustAcctId = "";
        String IdType = "";
        String IdCode = "";
        String ThirdCustId = "";
        String CustName = "";
        String SupAcctId = "";
        String OutAcctId = "";
        String OutAcctIdName = "";
        String CcyCode = "";
        String TranAmount = "";
        String Note = "";
        String Reserve = "";


        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }

        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }

        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        if (parmaKeyDict.containsKey("TranWebName")) {
            TranWebName = (String) parmaKeyDict.get("TranWebName");
        }

        if (parmaKeyDict.containsKey("IdType")) {
            IdType = (String) parmaKeyDict.get("IdType");
        }

        if (parmaKeyDict.containsKey("IdCode")) {
            IdCode = (String) parmaKeyDict.get("IdCode");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }
        if (parmaKeyDict.containsKey("OutAcctIdName")) {
            OutAcctIdName = (String) parmaKeyDict.get("OutAcctIdName");
        }
        if (parmaKeyDict.containsKey("OutAcctId")) {
            OutAcctId = (String) parmaKeyDict.get("OutAcctId");
        }

        String tranMessageBody = TranWebName + "&" + CustAcctId + "&" + IdType + "&" + IdCode + "&" + ThirdCustId + "&" + CustName + "&" + SupAcctId + "&" + OutAcctId + "&" + OutAcctIdName + "&" + CcyCode + "&" + TranAmount + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getSignMessageBody_6006(HashMap parmaKeyDict) {
        String FuncFlag = "";
        String OutCustAcctId = "";
        String SupAcctId = "";
        String OutThirdCustId = "";
        String OutCustName = "";
        String InCustAcctId = "";
        String InThirdCustId = "";
        String InCustName = "";
        String TranAmount = "";
        String TranFee = "";
        String TranType = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String ThirdHtMsg = "";
        String Note = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }

        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }

        if (parmaKeyDict.containsKey("OutCustName")) {
            OutCustName = (String) parmaKeyDict.get("OutCustName");
        }

        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String) parmaKeyDict.get("InCustAcctId");
        }

        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String) parmaKeyDict.get("InThirdCustId");
        }

        if (parmaKeyDict.containsKey("InCustName")) {
            InCustName = (String) parmaKeyDict.get("InCustName");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String) parmaKeyDict.get("TranFee");
        }
        if (parmaKeyDict.containsKey("TranType")) {
            TranType = (String) parmaKeyDict.get("TranType");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }
        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String) parmaKeyDict.get("ThirdHtMsg");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }


        String tranMessageBody = FuncFlag + "&" + OutCustAcctId + "&" + SupAcctId + "&" + OutThirdCustId + "&" + OutCustName + "&" + InCustAcctId + "&" + InThirdCustId + "&" + InCustName + "&" + TranAmount + "&" + TranFee + "&" + TranType + "&" + CcyCode + "&" + ThirdHtId + "&" + ThirdHtMsg + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6101(HashMap parmaKeyDict) {
        String FuncFlag = "";
        String OutCustAcctId = "";
        String SupAcctId = "";
        String OutThirdCustId = "";
        String OutCustName = "";
        String InCustAcctId = "";
        String InThirdCustId = "";
        String InCustName = "";
        String TranAmount = "";
        String TranFee = "";
        String TranType = "";
        String CcyCode = "";
        String ThirdHtId = "";
        String ThirdHtMsg = "";
        String Note = "";
        String SerialNo = "";
        String MessageCode = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("FuncFlag")) {
            FuncFlag = (String) parmaKeyDict.get("FuncFlag");
        }
        if (parmaKeyDict.containsKey("OutCustAcctId")) {
            OutCustAcctId = (String) parmaKeyDict.get("OutCustAcctId");
        }
        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("OutThirdCustId")) {
            OutThirdCustId = (String) parmaKeyDict.get("OutThirdCustId");
        }
        if (parmaKeyDict.containsKey("OutCustName")) {
            OutCustName = (String) parmaKeyDict.get("OutCustName");
        }
        if (parmaKeyDict.containsKey("InCustAcctId")) {
            InCustAcctId = (String) parmaKeyDict.get("InCustAcctId");
        }
        if (parmaKeyDict.containsKey("InThirdCustId")) {
            InThirdCustId = (String) parmaKeyDict.get("InThirdCustId");
        }
        if (parmaKeyDict.containsKey("InCustName")) {
            InCustName = (String) parmaKeyDict.get("InCustName");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }
        if (parmaKeyDict.containsKey("TranFee")) {
            TranFee = (String) parmaKeyDict.get("TranFee");
        }
        if (parmaKeyDict.containsKey("TranType")) {
            TranType = (String) parmaKeyDict.get("TranType");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("ThirdHtId")) {
            ThirdHtId = (String) parmaKeyDict.get("ThirdHtId");
        }
        if (parmaKeyDict.containsKey("ThirdHtMsg")) {
            ThirdHtMsg = (String) parmaKeyDict.get("ThirdHtMsg");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("SerialNo")) {
            SerialNo = (String) parmaKeyDict.get("SerialNo");
        }
        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = FuncFlag + "&" + OutCustAcctId + "&" + SupAcctId + "&" + OutThirdCustId + "&" + OutCustName + "&" + InCustAcctId + "&" + InThirdCustId + "&" + InCustName + "&" + TranAmount + "&" + TranFee + "&" + TranType + "&" + CcyCode + "&" + ThirdHtId + "&" + ThirdHtMsg + "&" + Note + "&" + SerialNo + "&" + MessageCode + "&" + Reserve + "&";

        return tranMessageBody;

    }

    private String getTranMessageBody_6102(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String Reserve = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }
        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }

        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getSignMessageBody_6111(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String OutAcctId = "";
        String OutAcctIdName = "";
        String TranAmount = "";
        String HandFee = "";
        String CcyCode = "";
        String Note = "";
        String Reserve = "";
        String SerialNo = "";
        String MessageCode = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }
        if (parmaKeyDict.containsKey("OutAcctId")) {
            OutAcctId = (String) parmaKeyDict.get("OutAcctId");
        }
        if (parmaKeyDict.containsKey("OutAcctIdName")) {
            OutAcctIdName = (String) parmaKeyDict.get("OutAcctIdName");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }
        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }
        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }
        if (parmaKeyDict.containsKey("SerialNo")) {
            SerialNo = (String) parmaKeyDict.get("SerialNo");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }


        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + OutAcctId + "&" + OutAcctIdName + "&" + CcyCode + "&" + TranAmount + "&" + HandFee + "&" + SerialNo + "&" + MessageCode + "&" + Note + "&" + Reserve + "&";

        return tranMessageBody;
    }

    private String getTranMessageBody_6111(HashMap parmaKeyDict) {
        String SupAcctId = "";
        String CustAcctId = "";
        String ThirdCustId = "";
        String CustName = "";
        String OutAcctId = "";
        String OutAcctIdName = "";
        String TranAmount = "";
        String HandFee = "";
        String CcyCode = "";
        String Note = "";
        String Reserve = "";
        String WebSign = "";
        String SerialNo = "";
        String MessageCode = "";

        if (parmaKeyDict.containsKey("SupAcctId")) {
            SupAcctId = (String) parmaKeyDict.get("SupAcctId");
        }

        if (parmaKeyDict.containsKey("CustAcctId")) {
            CustAcctId = (String) parmaKeyDict.get("CustAcctId");
        }

        if (parmaKeyDict.containsKey("ThirdCustId")) {
            ThirdCustId = (String) parmaKeyDict.get("ThirdCustId");
        }

        if (parmaKeyDict.containsKey("CustName")) {
            CustName = (String) parmaKeyDict.get("CustName");
        }

        if (parmaKeyDict.containsKey("OutAcctId")) {
            OutAcctId = (String) parmaKeyDict.get("OutAcctId");
        }

        if (parmaKeyDict.containsKey("OutAcctIdName")) {
            OutAcctIdName = (String) parmaKeyDict.get("OutAcctIdName");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }

        if (parmaKeyDict.containsKey("TranAmount")) {
            TranAmount = (String) parmaKeyDict.get("TranAmount");
        }

        if (parmaKeyDict.containsKey("HandFee")) {
            HandFee = (String) parmaKeyDict.get("HandFee");
        }
        if (parmaKeyDict.containsKey("SerialNo")) {
            SerialNo = (String) parmaKeyDict.get("SerialNo");
        }
        if (parmaKeyDict.containsKey("CcyCode")) {
            CcyCode = (String) parmaKeyDict.get("CcyCode");
        }
        if (parmaKeyDict.containsKey("MessageCode")) {
            MessageCode = (String) parmaKeyDict.get("MessageCode");
        }
        if (parmaKeyDict.containsKey("Note")) {
            Note = (String) parmaKeyDict.get("Note");
        }
        if (parmaKeyDict.containsKey("Reserve")) {
            Reserve = (String) parmaKeyDict.get("Reserve");
        }
        if (parmaKeyDict.containsKey("WebSign")) {
            WebSign = (String) parmaKeyDict.get("WebSign");
        }


        String tranMessageBody = SupAcctId + "&" + CustAcctId + "&" + ThirdCustId + "&" + CustName + "&" + OutAcctId + "&" + OutAcctIdName + "&" + CcyCode + "&" + TranAmount + "&" + HandFee + "&" + SerialNo + "&" + MessageCode + "&" + Note + "&" + Reserve + "&" + WebSign + "&";

        return tranMessageBody;
    }


}
